﻿<UserControl xmlns:my1="clr-namespace:Infusion.Silverlight.Controls.Ribbon;assembly=Infusion.Silverlight.Controls" x:Class="BusinessApplication2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:rbn="clr-namespace:Infusion.Silverlight.Controls.Ribbon;assembly=Infusion.Silverlight.Controls" 
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  
    d:DesignHeight="300" d:DesignWidth="400" xmlns:sd="clr-namespace:Divelements.SandDock;assembly=Divelements.SandDock"
    xmlns:sf="clr-namespace:BusinessApplication2.Controls">

    <Grid x:Name="LayoutRoot" Margin="0, 0, 0 ,0" Width="Auto" Height="Auto" HorizontalAlignment="Stretch" >
        <Grid.RowDefinitions>
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid HorizontalAlignment="Stretch" Margin="0" Name="DesignerWindow" VerticalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition Height="40" />
                <RowDefinition Height="*" MaxHeight="5000" MinHeight="200" />
                <RowDefinition Height="20" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            
            <Border Grid.Column="0" Grid.Row="0" BorderBrush="Black" BorderThickness="1,0,0,0">
            </Border>

            <sd:WindowHost Grid.Column="0" Grid.Row="1" Name="Workspace" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <sf:DesignerWindow HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
            </sd:WindowHost>

            <Border Grid.Column="0" Grid.Row="2" BorderBrush="Black" BorderThickness="1,0,0,0">
                <sdk:Label Name="StatusBar">Ready</sdk:Label>
            </Border>
        </Grid>
    </Grid>
</UserControl>
